package com.cgnpc.scp.sri.budget.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;
import java.util.List;

@TableName("tbl_sri_budget_info")
public class BudgetInfo {
    private String id;

    private String year;

    private String travelExpense;

    private String meetingExpense;

    private String consultingExpense;

    private String businessSupportExpense;

    private String deviceExpense;

    private String softwareExpense;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    @TableField(exist = false)
    private List<String> ids;

    public List<String> getIds() {
        return ids;
    }

    public void setIds(List<String> ids) {
        this.ids = ids;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getTravelExpense() {
        return travelExpense;
    }

    public void setTravelExpense(String travelExpense) {
        this.travelExpense = travelExpense == null ? null : travelExpense.trim();
    }

    public String getMeetingExpense() {
        return meetingExpense;
    }

    public void setMeetingExpense(String meetingExpense) {
        this.meetingExpense = meetingExpense == null ? null : meetingExpense.trim();
    }

    public String getConsultingExpense() {
        return consultingExpense;
    }

    public void setConsultingExpense(String consultingExpense) {
        this.consultingExpense = consultingExpense == null ? null : consultingExpense.trim();
    }

    public String getBusinessSupportExpense() {
        return businessSupportExpense;
    }

    public void setBusinessSupportExpense(String businessSupportExpense) {
        this.businessSupportExpense = businessSupportExpense == null ? null : businessSupportExpense.trim();
    }

    public String getDeviceExpense() {
        return deviceExpense;
    }

    public void setDeviceExpense(String deviceExpense) {
        this.deviceExpense = deviceExpense == null ? null : deviceExpense.trim();
    }

    public String getSoftwareExpense() {
        return softwareExpense;
    }

    public void setSoftwareExpense(String softwareExpense) {
        this.softwareExpense = softwareExpense == null ? null : softwareExpense.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    @TableField(exist = false)
    private String totalExpense;

    public String getTotalExpense() {
        return totalExpense;
    }

    public void setTotalExpense(String totalExpense) {
        this.totalExpense = totalExpense;
    }
}